home *** CD-ROM | disk | FTP | other *** search
- Path: sdd.hp.com!inn
- From: Jeff Grimmett <jgrimm@sdd.hp.com>
- Newsgroups: comp.sys.amiga.programmer
- Subject: More linked list nonsense
- Date: 24 Jan 1996 16:42:57 GMT
- Organization: Hewlett-Packard Company
- Message-ID: <4e5nih$iib@news.sdd.hp.com>
- NNTP-Posting-Host: hpsdv330.sdd.hp.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
-
-
- Howdy,
-
- It just occurred to me last night, as I pored over steaming code, that
- the function Remove() (used to remove nodes from linked lists) might
- POSSIBLY not be freeing the memory allocated to the node it is removing.
- Does anyone have some insight on this? It's difficult to deallocate a
- node once it's not part of the list, but it's pretty STUPID to free it
- BEFORE. :-)
-
- It's also hard to imagine that C= gave us this function without some way
- to clean up behind it, but I'm SUCH a Doubting Thomas at times... :-)
-
- Any info appreciated. Otherwise, I'm going to proceed on the assumtion
- it's safe. It appears to be.
-
-
-